﻿<Window x:Class="PolygonStar.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Canvas>
        <Polyline Stroke="Blue" Canvas.Top="20" Canvas.Left="20" Fill="Orange" Points="20,0 33,40 0,15 40,15 7,40 20,0">
            <Polyline.RenderTransform>
                <RotateTransform Angle="25"/>
            </Polyline.RenderTransform>
        </Polyline>
        <Polygon Stroke="Blue" Canvas.Top="20" Canvas.Left="60" Fill="Orange" FillRule="Nonzero" Points="20,0 33,40 0,15 40,15 7,40">
            <Polygon.RenderTransform>
                <RotateTransform Angle="25"/>
            </Polygon.RenderTransform>
        </Polygon>
    </Canvas>
</Window>
